
var game_file_list = [
    //以下为自动修改，请勿修改
    //----auto game_file_list start----
	"libsrc/bin/weixinapi/weixinapi.js",
	"libs/modules/egret/egret.js",
	"libs/modules/egret/egret.native.js",
	"libs/modules/game/game.js",
	"libs/modules/res/res.js",
	"libs/modules/eui/eui.js",
	"libs/modules/tween/tween.js",
	"libs/modules/socket/socket.js",
	"libsrc/bin/weixinapi/weixinapi.js",
	"polyfill/promise.js",
	"bin-debug/Game/gameRoom/module/shareClewInfo.js",
	"bin-debug/ArraySort.js",
	"bin-debug/Data/Events.js",
	"bin-debug/Data/GameData.js",
	"bin-debug/Data/RelplayTest.js",
	"bin-debug/Data/StageData.js",
	"bin-debug/Data/StringData.js",
	"bin-debug/Game/gameRoom/centerPoker/centerOutPoker.js",
	"bin-debug/Game/gameRoom/centerPoker/movePoint.js",
	"bin-debug/Game/gameRoom/centerPoker/outPoker1.js",
	"bin-debug/Game/gameRoom/centerPoker/outPoker2.js",
	"bin-debug/Game/gameRoom/centerPoker/outPoker3.js",
	"bin-debug/Game/gameRoom/centerPoker/outPoker4.js",
	"bin-debug/Game/gameRoom/centerPoker/outPokerPack.js",
	"bin-debug/Game/gameRoom/centerPoker/point.js",
	"bin-debug/Game/gameRoom/chat/chathShowObjWnd.js",
	"bin-debug/Game/gameRoom/chat/chatImageobjWnd.js",
	"bin-debug/Game/gameRoom/chat/chatRoomWnd.js",
	"bin-debug/Game/gameRoom/chat/chatTextobjWnd.js",
	"bin-debug/Game/gameRoom/chat/playRadio.js",
	"bin-debug/Game/gameRoom/chat/playRemind.js",
	"bin-debug/Game/gameRoom/chat/TextChatWnd.js",
	"bin-debug/Game/gameRoom/DIYBtn/addRoom.js",
	"bin-debug/Game/gameRoom/DIYBtn/ChiChoose.js",
	"bin-debug/Game/gameRoom/DIYBtn/model3Ren.js",
	"bin-debug/Game/gameRoom/DIYBtn/operationBtn.js",
	"bin-debug/Game/gameRoom/DIYBtn/startGameBtn.js",
	"bin-debug/Game/gameRoom/DIYBtn/Tile.js",
	"bin-debug/Game/gameRoom/DIYBtn/YaoShaiZi.js",
	"bin-debug/Game/gameRoom/end/lucky.js",
	"bin-debug/Game/gameRoom/end/LuckyYao.js",
	"bin-debug/Game/gameRoom/end/roundEndGame.js",
	"bin-debug/Game/gameRoom/end/roundEndGameObj.js",
	"bin-debug/Game/gameRoom/end/winningCard.js",
	"bin-debug/Game/gameRoom/gamePlayImage.js",
	"bin-debug/Game/gameRoom/location/locationBg1.js",
	"bin-debug/Game/gameRoom/location/locationBg2.js",
	"bin-debug/Game/gameRoom/location/locationBg3.js",
	"bin-debug/Game/gameRoom/location/locationObj.js",
	"bin-debug/Game/gameRoom/location/locationwnd.js",
	"bin-debug/AssetAdapter.js",
	"bin-debug/Game/gameRoom/module/TimerCountDown.js",
	"bin-debug/Game/gameRoom/module/windowGroup.js",
	"bin-debug/Game/gameRoom/module/winEffect.js",
	"bin-debug/Game/gameRoom/playImage2.js",
	"bin-debug/Game/gameRoom/poker/endHandPoker.js",
	"bin-debug/Game/gameRoom/poker/gamePlayHandPoker.js",
	"bin-debug/Game/gameRoom/poker/handPoker.js",
	"bin-debug/Game/gameRoom/poker/handPokerPlay.js",
	"bin-debug/Game/gameRoom/poker/myHandPoker.js",
	"bin-debug/Game/gameRoom/poker/playHandPoker.js",
	"bin-debug/Game/gameRoom/poker/playHandPokerVideo.js",
	"bin-debug/Game/gameRoom/poker/TanpaiMy.js",
	"bin-debug/Game/gameRoom/poker/TanpaiOther.js",
	"bin-debug/Game/gameRoom/poker/winLeft.js",
	"bin-debug/Game/gameRoom/poker/winPENG.js",
	"bin-debug/Game/gameRoom/poker/winRight.js",
	"bin-debug/Game/gameRoom/poker/winTop.js",
	"bin-debug/Game/gameRoom/room.js",
	"bin-debug/Game/gameRoom/roomInfo.js",
	"bin-debug/Game/gameRoom/SurplusPokerNum.js",
	"bin-debug/Game/gameRoom/TingPoker.js",
	"bin-debug/Game/gameRoom/window/clewInfo.js",
	"bin-debug/Game/gameRoom/window/playImageVote.js",
	"bin-debug/Game/gameRoom/window/setUp.js",
	"bin-debug/Game/gameRoom/window/videoPlay.js",
	"bin-debug/Game/gameRoom/window/vote.js",
	"bin-debug/Game/GameStage.js",
	"bin-debug/Game/loadClew.js",
	"bin-debug/JSSDK.js",
	"bin-debug/loadImage.js",
	"bin-debug/LoadingUI.js",
	"bin-debug/Main.js",
	"bin-debug/Message.js",
	"bin-debug/MyLibrary.js",
	"bin-debug/MyUtils.js",
	"bin-debug/PostLink.js",
	"bin-debug/soundPlay.js",
	"bin-debug/StringOmit.js",
	"bin-debug/ThemeAdapter.js",
	//----auto game_file_list end----
];

var window = this;

egret_native.setSearchPaths([""]);

egret_native.requireFiles = function () {
    for (var key in game_file_list) {
        var src = game_file_list[key];
        require(src);
    }
};

egret_native.egretInit = function () {
    if(egret_native.featureEnable) {
        //控制一些优化方案是否开启
        var result = egret_native.featureEnable({
            
        });
    }
    egret_native.requireFiles();
    //egret.dom为空实现
    egret.dom = {};
    egret.dom.drawAsCanvas = function () {
    };
};

egret_native.egretStart = function () {
    var option = {
        //以下为自动修改，请勿修改
        //----auto option start----
		entryClassName: "Main",
		frameRate: 30,
		scaleMode: "exactFit",
		contentWidth: 1166,
		contentHeight: 720,
		showPaintRect: false,
		showFPS: false,
		fpsStyles: "x:0,y:0,size:12,textColor:0xffffff,bgAlpha:0.9",
		showLog: false,
		logFilter: "",
		maxTouches: 2,
		textureScaleFactor: 1
		//----auto option end----
    };

    egret.native.NativePlayer.option = option;
    egret.runEgret();
    egret_native.Label.createLabel("/system/fonts/DroidSansFallback.ttf", 20, "", 0);
    egret_native.EGTView.preSetOffScreenBufferEnable(true);
};